<?php

namespace Drupal\shusy_product\ViewsController\handler\filter;

use Drupal\shusy_product\ViewsController\Traits\ShusyProductCommentScoreTrait;
use views_handler_filter_in_operator;

class ShusyProductCommentScoreViewsFilter extends views_handler_filter_in_operator {

  use ShusyProductCommentScoreTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "评分 1 - 5";
      $this->value_options = $this->getScoreOptions();
    }
  }
}
